package com.sevens.service;
import java.util.List;

import com.sevens.vo.Flight;
public interface FlightService {
	
	public List<Flight> getAllFlights();
	
    public boolean createFlight(Flight flight);
	
	public boolean updateFlightById(Flight flight);
	
	public boolean deleteFlightById(Flight flight);
	
	public List<Flight> listInArFlight();
	
	public List<Flight> listInDeFlight();
	
	public List<Flight> listOuArFlight();
	
	public List<Flight> listOuDeFlight();	
	
	public List<Flight> searchFlight(String flightType,String flightNumber,String origin,String destination,String airline);
	public Flight getFlightByFlightID(int flightId);
}
